using System;

namespace Wantn.Share
{
	public class SamplingBlock : IComparable<SamplingBlock>
	{
		private int int_0;

		private int int_1;

		private int int_2;

		private int int_3;

		private int int_4;

		private int int_5;

		private int int_6;

		private int int_7;

		private int int_8;

		public int BlockNO
		{
			get
			{
				return int_0;
			}
			set
			{
				int_0 = value;
			}
		}

		public int RowNO
		{
			get
			{
				return int_1;
			}
			set
			{
				int_1 = value;
			}
		}

		public int ColNO
		{
			get
			{
				return int_2;
			}
			set
			{
				int_2 = value;
			}
		}

		public int MinX
		{
			get
			{
				return int_3;
			}
			set
			{
				int_3 = value;
			}
		}

		public int MaxX
		{
			get
			{
				return int_4;
			}
			set
			{
				int_4 = value;
			}
		}

		public int MinY
		{
			get
			{
				return int_5;
			}
			set
			{
				int_5 = value;
			}
		}

		public int MaxY
		{
			get
			{
				return int_6;
			}
			set
			{
				int_6 = value;
			}
		}

		public int MinZ
		{
			get
			{
				return int_7;
			}
			set
			{
				int_7 = value;
			}
		}

		public int MaxZ
		{
			get
			{
				return int_8;
			}
			set
			{
				int_8 = value;
			}
		}

		public SamplingBlock()
		{
		}

		public SamplingBlock(int blockNO, int rowNO, int colNO, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
		{
			BlockNO = blockNO;
			RowNO = rowNO;
			ColNO = colNO;
			MinX = minX;
			MaxX = maxX;
			MinY = minY;
			MaxY = maxY;
			MinZ = minZ;
			MaxZ = maxZ;
		}

		public int CompareTo(SamplingBlock other)
		{
			return BlockNO.CompareTo(other.BlockNO);
		}

		public override string ToString()
		{
			return "块号=" + BlockNO + "，行号=" + RowNO + "，列号=" + ColNO + "，X范围=" + MinX + "-" + MaxX + "，Y范围=" + MinY + "-" + MaxY + "，Z范围=" + MinZ + "-" + MaxZ;
		}
	}
}
